package com.hy;

import java.util.ArrayList;
import java.util.List;

/**
 * Created With IntelliJ IDEA.
 * Descriptions:
 * <p>
 * User:Mr.Du
 * Date:2024/3/5
 * Time:10:35
 */
public class TestArrayList {

    public static void main(String[] args) {
        List<Integer> list = new ArrayList<>();
        for(int i = 0;i < 10;i++){
            list.add(i + 1);
        }
        Integer remove = list.remove(1);
        System.out.println(remove);

    }
}
